-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPrimary Keys.sql
42 lines (28 loc) · 1.32 KB
/
Primary Keys.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
-- Declaring Primary Key For Administartor Table
Alter TABLE Admin
CONSTRAINT PK_Admin PRIMARY Key (Admin_ID)
________________________________________________________________________________
-- Declaring Primary Key For Student Table
Alter TABLE Student
CONSTRAINT PK_Student PRIMARY Key (Student_ID)
________________________________________________________________________________
-- Declaring Primary Key For Department Table
Alter TABLE Department
CONSTRAINT PK_Department PRIMARY Key (Department_ID)
________________________________________________________________________________
-- Declaring Primary Key For Course Table
Alter TABLE Coures
CONSTRAINT PK_Course PRIMARY Key (Course_ID)
________________________________________________________________________________
-- Declaring Primary Key For Teacher Table
Alter TABLE Teacher
CONSTRAINT PK_Teacher PRIMARY Key (Teacher_ID)
________________________________________________________________________________
-- Declaring Primary Key For Exam Table
Alter TABLE Exam
CONSTRAINT PK_Exam PRIMARY Key Exam _ID)
________________________________________________________________________________
-- Declaring Primary Key For Fee Table
Alter TABLE Fee
CONSTRAINT PK_Challan_No PRIMARY Key Challan_No)
________________________________________________________________________________